package com.android.happymall.model.member;

import java.util.List;

/**
 * Created by Administrator on 2016/9/8.
 */
public class AddressData {

    /**
     * id : 3
     * name : 安徽
     * parentid : 1
     * sub : [{"id":"36","name":"安庆","parentid":"3","sub":[{"id":"398","name":"迎江区","parentid":"36"},{"id":"399","name":"大观区","parentid":"36"},{"id":"400","name":"宜秀区","parentid":"36"},{"id":"401","name":"桐城市","parentid":"36"},{"id":"402","name":"怀宁县","parentid":"36"},{"id":"403","name":"枞阳县","parentid":"36"},{"id":"404","name":"潜山县","parentid":"36"},{"id":"405","name":"太湖县","parentid":"36"},{"id":"406","name":"宿松县","parentid":"36"},{"id":"407","name":"望江县","parentid":"36"},{"id":"408","name":"岳西县","parentid":"36"}]},{"id":"37","name":"蚌埠","parentid":"3","sub":[{"id":"409","name":"中市区","parentid":"37"},{"id":"410","name":"东市区","parentid":"37"},{"id":"411","name":"西市区","parentid":"37"},{"id":"412","name":"郊区","parentid":"37"},{"id":"413","name":"怀远县","parentid":"37"},{"id":"414","name":"五河县","parentid":"37"},{"id":"415","name":"固镇县","parentid":"37"}]},{"id":"38","name":"巢湖","parentid":"3","sub":[{"id":"416","name":"居巢区","parentid":"38"},{"id":"417","name":"庐江县","parentid":"38"},{"id":"418","name":"无为县","parentid":"38"},{"id":"419","name":"含山县","parentid":"38"},{"id":"420","name":"和县","parentid":"38"}]},{"id":"39","name":"池州","parentid":"3","sub":[{"id":"421","name":"贵池区","parentid":"39"},{"id":"422","name":"东至县","parentid":"39"},{"id":"423","name":"石台县","parentid":"39"},{"id":"424","name":"青阳县","parentid":"39"}]},{"id":"40","name":"滁州","parentid":"3","sub":[{"id":"425","name":"琅琊区","parentid":"40"},{"id":"426","name":"南谯区","parentid":"40"},{"id":"427","name":"天长市","parentid":"40"},{"id":"428","name":"明光市","parentid":"40"},{"id":"429","name":"来安县","parentid":"40"},{"id":"430","name":"全椒县","parentid":"40"},{"id":"431","name":"定远县","parentid":"40"},{"id":"432","name":"凤阳县","parentid":"40"}]},{"id":"41","name":"阜阳","parentid":"3","sub":[{"id":"433","name":"蚌山区","parentid":"41"},{"id":"434","name":"龙子湖区","parentid":"41"},{"id":"435","name":"禹会区","parentid":"41"},{"id":"436","name":"淮上区","parentid":"41"},{"id":"437","name":"颍州区","parentid":"41"},{"id":"438","name":"颍东区","parentid":"41"},{"id":"439","name":"颍泉区","parentid":"41"},{"id":"440","name":"界首市","parentid":"41"},{"id":"441","name":"临泉县","parentid":"41"},{"id":"442","name":"太和县","parentid":"41"},{"id":"443","name":"阜南县","parentid":"41"},{"id":"444","name":"颖上县","parentid":"41"}]},{"id":"42","name":"淮北","parentid":"3","sub":[{"id":"445","name":"相山区","parentid":"42"},{"id":"446","name":"杜集区","parentid":"42"},{"id":"447","name":"烈山区","parentid":"42"},{"id":"448","name":"濉溪县","parentid":"42"}]},{"id":"43","name":"淮南","parentid":"3","sub":[{"id":"449","name":"田家庵区","parentid":"43"},{"id":"450","name":"大通区","parentid":"43"},{"id":"451","name":"谢家集区","parentid":"43"},{"id":"452","name":"八公山区","parentid":"43"},{"id":"453","name":"潘集区","parentid":"43"},{"id":"454","name":"凤台县","parentid":"43"}]},{"id":"44","name":"黄山","parentid":"3","sub":[{"id":"455","name":"屯溪区","parentid":"44"},{"id":"456","name":"黄山区","parentid":"44"},{"id":"457","name":"徽州区","parentid":"44"},{"id":"458","name":"歙县","parentid":"44"},{"id":"459","name":"休宁县","parentid":"44"},{"id":"460","name":"黟县","parentid":"44"},{"id":"461","name":"祁门县","parentid":"44"}]},{"id":"45","name":"六安","parentid":"3","sub":[{"id":"462","name":"金安区","parentid":"45"},{"id":"463","name":"裕安区","parentid":"45"},{"id":"464","name":"寿县","parentid":"45"},{"id":"465","name":"霍邱县","parentid":"45"},{"id":"466","name":"舒城县","parentid":"45"},{"id":"467","name":"金寨县","parentid":"45"},{"id":"468","name":"霍山县","parentid":"45"}]},{"id":"46","name":"马鞍山","parentid":"3","sub":[{"id":"469","name":"雨山区","parentid":"46"},{"id":"470","name":"花山区","parentid":"46"},{"id":"471","name":"金家庄区","parentid":"46"},{"id":"472","name":"当涂县","parentid":"46"}]},{"id":"47","name":"宿州","parentid":"3","sub":[{"id":"473","name":"埇桥区","parentid":"47"},{"id":"474","name":"砀山县","parentid":"47"},{"id":"475","name":"萧县","parentid":"47"},{"id":"476","name":"灵璧县","parentid":"47"},{"id":"477","name":"泗县","parentid":"47"}]},{"id":"48","name":"铜陵","parentid":"3","sub":[{"id":"478","name":"铜官山区","parentid":"48"},{"id":"479","name":"狮子山区","parentid":"48"},{"id":"480","name":"郊区","parentid":"48"},{"id":"481","name":"铜陵县","parentid":"48"}]},{"id":"49","name":"芜湖","parentid":"3","sub":[{"id":"482","name":"镜湖区","parentid":"49"},{"id":"483","name":"弋江区","parentid":"49"},{"id":"484","name":"鸠江区","parentid":"49"},{"id":"485","name":"三山区","parentid":"49"},{"id":"486","name":"芜湖县","parentid":"49"},{"id":"487","name":"繁昌县","parentid":"49"},{"id":"488","name":"南陵县","parentid":"49"}]},{"id":"50","name":"宣城","parentid":"3","sub":[{"id":"489","name":"宣州区","parentid":"50"},{"id":"490","name":"宁国市","parentid":"50"},{"id":"491","name":"郎溪县","parentid":"50"},{"id":"492","name":"广德县","parentid":"50"},{"id":"493","name":"泾县","parentid":"50"},{"id":"494","name":"绩溪县","parentid":"50"},{"id":"495","name":"旌德县","parentid":"50"}]},{"id":"51","name":"亳州","parentid":"3","sub":[{"id":"496","name":"涡阳县","parentid":"51"},{"id":"497","name":"蒙城县","parentid":"51"},{"id":"498","name":"利辛县","parentid":"51"},{"id":"499","name":"谯城区","parentid":"51"}]},{"id":"3401","name":"合肥","parentid":"3","sub":[{"id":"3402","name":"庐阳区","parentid":"3401"},{"id":"3403","name":"瑶海区","parentid":"3401"},{"id":"3404","name":"蜀山区","parentid":"3401"},{"id":"3405","name":"包河区","parentid":"3401"},{"id":"3406","name":"长丰县","parentid":"3401"},{"id":"3407","name":"肥东县","parentid":"3401"},{"id":"3408","name":"肥西县","parentid":"3401"}]}]
     */

    private String id;
    private String name;
    private String parentid;
    /**
     * id : 36
     * name : 安庆
     * parentid : 3
     * sub : [{"id":"398","name":"迎江区","parentid":"36"},{"id":"399","name":"大观区","parentid":"36"},{"id":"400","name":"宜秀区","parentid":"36"},{"id":"401","name":"桐城市","parentid":"36"},{"id":"402","name":"怀宁县","parentid":"36"},{"id":"403","name":"枞阳县","parentid":"36"},{"id":"404","name":"潜山县","parentid":"36"},{"id":"405","name":"太湖县","parentid":"36"},{"id":"406","name":"宿松县","parentid":"36"},{"id":"407","name":"望江县","parentid":"36"},{"id":"408","name":"岳西县","parentid":"36"}]
     */

    private List<SubBean> sub;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public List<SubBean> getSub() {
        return sub;
    }

    public void setSub(List<SubBean> sub) {
        this.sub = sub;
    }

    public static class SubBean {
        private String id;
        private String name;
        private String parentid;
        /**
         * id : 398
         * name : 迎江区
         * parentid : 36
         */

        private List<SubBean2> sub;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public List<SubBean2> getSub() {
            return sub;
        }

        public void setSub(List<SubBean2> sub) {
            this.sub = sub;
        }

        public static class SubBean2 {
            private String id;
            private String name;
            private String parentid;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getParentid() {
                return parentid;
            }

            public void setParentid(String parentid) {
                this.parentid = parentid;
            }
        }
    }
}
